<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>keyevent</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="ele,key in user">
               {{key}}----- {{ele}}
            </li>
        </ul>
    </div>
</body>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let vm = new Vue({
        el:"#app",
        data:{
         user:{
             id:100010,
             age:28,
             name:"赫赫",
             adress:"sh"
         }
        }
    })
</script>
</html>